package com.wen.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 公用
 */
@Controller
public class CommonController {
    @RequestMapping("/500")
    public String er() {
        return "500";
    }

    @RequestMapping("/404")
    public String e404() {
        return "404";
    }

    /**
     * 正则演示
     *
     * @return
     */
    @RequestMapping("regular")
    public String regular() {
        return "regular/index";
    }
}
